package com.example.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName wd_history
 */
@TableName(value ="wd_history")
@Data
public class History implements Serializable {
    /**
     * 历史记录id
     */
    @TableId(value = "history_id", type = IdType.ID_WORKER_STR)
    private String historyId;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 物品id
     */
    private String goodsId;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    private static final long serialVersionUID = 1L;
}